import request from '@/utils/request'




export function getCategory(id) {
    return request({
        url: '/category?id='+id,
        method: 'get'
    })
}


export function getFilter(id){
    return request({
        url:'/category/sub/filter?id='+id,
        method:'get'
    })
}

export function getGoods (data) {
    return request({
        url: "/category/goods/temporary",
        method: "post",
        data
    })
}


